package chain;

public abstract class SafetyHandler {
    protected SafetyHandler nextHandler;

    public void setNextHandler(SafetyHandler nextHandler) {
        this.nextHandler = nextHandler;
    }

    public abstract void handleRequest(SafetyRequest request);
}
